var Mock = require('mockjs')

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": {
      "series|28-31": [
        {
          "date": "@date('yyyy-MM-dd')", //时间
          "benchmarkReturnRate": "@float(0,1,0,2)", //基准收益率
          "additionalReturnRate": "@float(-1,1,0,2)",//组合-基准
          "returnRate": "0.05"//组合收益率
        }
      ]
    }
  })
}
